package fourmiefight.tools;

import java.util.Iterator;
import java.util.concurrent.ConcurrentLinkedDeque;

public class ConcurrentArrayList<E> extends ConcurrentLinkedDeque<E>
{
	private static final long serialVersionUID = 3594278031731054741L;

	public E get(int position)
	{
		int count = 0;
		for(E obj : this)
		{
			if(count - 1 == position)
			{
				return obj;
			}
			count++;
		}
		return null;
	}
}
